package com.shell.customer.base.service.impl;

import com.shell.bee.persistence.service.impl.PersistentServiceImpl;
import com.shell.customer.base.service.CusTagBizService;
import com.shell.customer.po.CusTagBiz;
import java.util.List;
import org.springframework.stereotype.Service;

@Service("cusTagBusRelService")
public class CusTagBizServiceImpl extends PersistentServiceImpl<CusTagBiz> implements CusTagBizService {
	public int deleteBusRelByTagId(String tagId) {
		CusTagBiz rel = new CusTagBiz();
		rel.setTagId(tagId);
		return deleteEntity(rel);
	}

	public List<CusTagBiz> selectBusRelByTagId(String tagId) {
		CusTagBiz rel = new CusTagBiz();
		rel.setTagId(tagId);
		return selectByEntity(rel);
	}
}
